package aer.prueba1;

import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;

public class PruebaIO {

	public static void main(String[] args) throws Exception {
		BufferedWriter out = new BufferedWriter(new OutputStreamWriter(
				new FileOutputStream(java.io.FileDescriptor.out), "ASCII"), 512);
		long start = System.currentTimeMillis();
		for (int i = 0; i < 100000; i++) {
			out.write("abcdefghijk ");
			out.write(String.valueOf(i));
			out.write('\n');
		}
		out.flush();
		System.err.println("Loop time: " + (System.currentTimeMillis() - start));
	}

}
